package com.tanhua.dubbo.api;

import com.tanhua.model.domain.User;

public interface UserApi {

    //通过手机号查询用户
    User findByMobile(String phone);
    //保存用户，返回用户Id
    Long save(User user);

    void updatePhone(User user);

    void update(User user);

    User findById(Long userId);

    User findByhuanxinId(String huanxinId);
}
